<template>
	<view>
		<button type="default" @click="getLogin">登录</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				getLogin(){
					uni.login({
						success(res) {
							console.log(res);
						}
					})
					uni.getUserProfile({
						desc:'完善个人信息',
						success(res) {
							console.log(res);
						}
					})
				}
			};
		}
	}
</script>

<style lang="less">

</style>
